<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxSimpleTriangleMesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxSimpleTriangleMesh.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classPxSimpleTriangleMesh-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxSimpleTriangleMesh Class Reference<div class="ingroups"><a class="el" href="group__geomutils.html">Geomutils</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A structure describing a triangle mesh.  
 <a href="classPxSimpleTriangleMesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxSimpleTriangleMesh_8h_source.html">PxSimpleTriangleMesh.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PxSimpleTriangleMesh:</div>
<div class="dyncontent">
<div class="center"><img src="classPxSimpleTriangleMesh__inherit__graph.png" border="0" usemap="#PxSimpleTriangleMesh_inherit__map" alt="Inheritance graph"/></div>
<map name="PxSimpleTriangleMesh_inherit__map" id="PxSimpleTriangleMesh_inherit__map">
<area shape="rect" id="node2" href="classPxTriangleMeshDesc.html" title="Descriptor class for PxTriangleMesh. " alt="" coords="10,80,155,107"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PxSimpleTriangleMesh:</div>
<div class="dyncontent">
<div class="center"><img src="classPxSimpleTriangleMesh__coll__graph.png" border="0" usemap="#PxSimpleTriangleMesh_coll__map" alt="Collaboration graph"/></div>
<map name="PxSimpleTriangleMesh_coll__map" id="PxSimpleTriangleMesh_coll__map">
<area shape="rect" id="node2" href="classPxFlags.html" title="PxFlags\&lt; PxMeshFlag\l::Enum, PxU16 \&gt;" alt="" coords="5,81,160,123"/>
<area shape="rect" id="node3" href="structPxBoundedData.html" title="PxBoundedData" alt="" coords="185,89,301,115"/>
<area shape="rect" id="node4" href="structPxStridedData.html" title="PxStridedData" alt="" coords="189,5,296,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ga9acd5763a76bcf9f41b42c3a30a6421a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__geomutils.html#ga9acd5763a76bcf9f41b42c3a30a6421a">PxSimpleTriangleMesh</a> ()</td></tr>
<tr class="memdesc:ga9acd5763a76bcf9f41b42c3a30a6421a"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor sets to default.  <a href="group__geomutils.html#ga9acd5763a76bcf9f41b42c3a30a6421a">More...</a><br /></td></tr>
<tr class="separator:ga9acd5763a76bcf9f41b42c3a30a6421a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6110ba2e5505fb809d3c3ebeb82e2f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__geomutils.html#gad6110ba2e5505fb809d3c3ebeb82e2f5">setToDefault</a> ()</td></tr>
<tr class="memdesc:gad6110ba2e5505fb809d3c3ebeb82e2f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">(re)sets the structure to the default.  <a href="group__geomutils.html#gad6110ba2e5505fb809d3c3ebeb82e2f5">More...</a><br /></td></tr>
<tr class="separator:gad6110ba2e5505fb809d3c3ebeb82e2f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e3459b35f199b24a6f8e070170a9815"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__geomutils.html#ga3e3459b35f199b24a6f8e070170a9815">isValid</a> () const</td></tr>
<tr class="memdesc:ga3e3459b35f199b24a6f8e070170a9815"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if the current settings are valid  <a href="group__geomutils.html#ga3e3459b35f199b24a6f8e070170a9815">More...</a><br /></td></tr>
<tr class="separator:ga3e3459b35f199b24a6f8e070170a9815"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:afdeb26b7e3d491fbe041f4bc119e22af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structPxBoundedData.html">PxBoundedData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSimpleTriangleMesh.html#afdeb26b7e3d491fbe041f4bc119e22af">points</a></td></tr>
<tr class="memdesc:afdeb26b7e3d491fbe041f4bc119e22af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to first vertex point.  <a href="#afdeb26b7e3d491fbe041f4bc119e22af">More...</a><br /></td></tr>
<tr class="separator:afdeb26b7e3d491fbe041f4bc119e22af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b39b2bb65a9f246eaa1848e881cf988"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structPxBoundedData.html">PxBoundedData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSimpleTriangleMesh.html#a1b39b2bb65a9f246eaa1848e881cf988">triangles</a></td></tr>
<tr class="memdesc:a1b39b2bb65a9f246eaa1848e881cf988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to first triangle.  <a href="#a1b39b2bb65a9f246eaa1848e881cf988">More...</a><br /></td></tr>
<tr class="separator:a1b39b2bb65a9f246eaa1848e881cf988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a765848d06b09a3452f9923115d5ccdd0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__geomutils.html#gaec23462a84179db8a8ea77e5115d5fb1">PxMeshFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSimpleTriangleMesh.html#a765848d06b09a3452f9923115d5ccdd0">flags</a></td></tr>
<tr class="memdesc:a765848d06b09a3452f9923115d5ccdd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flags bits, combined from values of the enum <a class="el" href="structPxMeshFlag.html" title="Enum with flag values to be used in PxSimpleTriangleMesh::flags. ">PxMeshFlag</a>.  <a href="#a765848d06b09a3452f9923115d5ccdd0">More...</a><br /></td></tr>
<tr class="separator:a765848d06b09a3452f9923115d5ccdd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A structure describing a triangle mesh. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a765848d06b09a3452f9923115d5ccdd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a765848d06b09a3452f9923115d5ccdd0">&#9670;&nbsp;</a></span>flags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__geomutils.html#gaec23462a84179db8a8ea77e5115d5fb1">PxMeshFlags</a> PxSimpleTriangleMesh::flags</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flags bits, combined from values of the enum <a class="el" href="structPxMeshFlag.html" title="Enum with flag values to be used in PxSimpleTriangleMesh::flags. ">PxMeshFlag</a>. </p>

</div>
</div>
<a id="afdeb26b7e3d491fbe041f4bc119e22af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdeb26b7e3d491fbe041f4bc119e22af">&#9670;&nbsp;</a></span>points</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> PxSimpleTriangleMesh::points</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to first vertex point. </p>

</div>
</div>
<a id="a1b39b2bb65a9f246eaa1848e881cf988"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b39b2bb65a9f246eaa1848e881cf988">&#9670;&nbsp;</a></span>triangles</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structPxBoundedData.html">PxBoundedData</a> PxSimpleTriangleMesh::triangles</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pointer to first triangle. </p>
<p>Caller may add triangleStrideBytes bytes to the pointer to access the next triangle.</p>
<p>These are triplets of 0 based indices: vert0 vert1 vert2 vert0 vert1 vert2 vert0 vert1 vert2 ...</p>
<p>where vertex is either a 32 or 16 bit unsigned integer. There are numTriangles*3 indices.</p>
<p>This is declared as a void pointer because it is actually either an PxU16 or a PxU32 pointer. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxSimpleTriangleMesh_8h_source.html">PxSimpleTriangleMesh.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxSimpleTriangleMesh.html">PxSimpleTriangleMesh</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
